//
//  TxcModel.swift
//  CompareBuying
//
//  Created by 唐先才 on 16/1/27.
//  Copyright © 2016年 唐先才. All rights reserved.
//

import Foundation

class TxcModel: NSObject {
    //滚动视图
    var ProID: NSNumber?
    var ProName: String?
    var ProWebsite: String?
    var ProImage: String?
    var StartTime: String?
    var EndTime: String?
    var InfoContent: String?
    
    //八个按钮
    var IcoID: NSNumber?
    var IcoName: String?
    var IcoImage: String?
//    var IcoUrl: String?
//    var IcoCode: String?
    
    //专题
    var iSpecialID: NSNumber?
    var strParentSpecialImage: String?
    var strSpecialImage: String?
    var strSpecialDetailImage: String?
    var strSpecialContent: String?
    var dtEndTime: String?
    var strSpecialUrl: String?
    var listRecommendInfo: NSArray?
    
    
    //collectionView
    var InfoID: NSNumber?
    var InfoTitle: String?
//    var Nickname: String?
    var CommodityPrice: String?
    var MainImage: String?
//    var MallUrl: String?
//    var ContentUrl: String?
//    var RedirectUrl: String?
    var IsGood: NSNumber?
//    var IsBad: NSNumber?
//    var IsPurchasing: NSNumber?
//    var IsTop: NSNumber?
//    var InfoCollection: NSNumber?
//    var InfoReview: NSNumber?
    var InfoNation: NSNumber?
    var CatUrl: String?
    var CatName: String?
    var CatImage: String?
//    var TagUrl: String?
//    var TagName: String?
//    var UpdateTime: String?
    var InfoTime: String?
    var MallName: String?

    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    static func modelWithDict(dict: NSDictionary) -> TxcModel {
        let model = TxcModel()
        if let dict = dict as? [String: AnyObject] {
            model.setValuesForKeysWithDictionary(dict)
        }
        return model
    }
    
}




